﻿<Window x:Class="NetworkMessenger.SendMessageWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="New Message" Height="391" Width="598" ResizeMode="CanMinimize" Icon="/NetworkMessenger;component/NetworkMessenger.ico" SnapsToDevicePixels="False" Topmost="True" Loaded="Window_Loaded">    
    <Window.Resources>
        <ResourceDictionary Source="StyleDictionary.xaml"/>
    </Window.Resources>
    <Grid> 
        <Rectangle Name="backgroundRectangle" Style="{StaticResource BackgroundRectangle}"/>
        <Image HorizontalAlignment="Right" Margin="0,13,12,0" Stretch="Uniform" Width="97" Height="106" VerticalAlignment="Top" Source="/NetworkMessenger;component/NetworkMessenger.ico" />
        
        <Label Height="26" HorizontalAlignment="Left" Margin="16,16,0,0" VerticalAlignment="Top" Width="62" Foreground="White">To:</Label>        
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="66,18,0,0" Name="toTextBox" VerticalAlignment="Top" Width="194" IsReadOnly="False" ToolTip="Enter in the form 'user@host'" TabIndex="1" IsEditable="True" />
        <Label Height="28" Margin="270,16,157,0" Name="label3" VerticalAlignment="Top" Foreground="White">(In the form 'user@host')</Label>
        
        <Label Height="26" HorizontalAlignment="Left" Margin="16,45,0,0" VerticalAlignment="Top" Width="62" Foreground="White">From:</Label>        
        <TextBox Height="23" HorizontalAlignment="Left" Margin="66,47,0,0" Name="fromTextBox" VerticalAlignment="Top" Width="194" IsReadOnly="True" Background="Transparent" BorderThickness="0" Foreground="White"/>

        <Label Height="28" HorizontalAlignment="Left" Margin="16,91,0,0" VerticalAlignment="Top" Width="120" Foreground="White">Message:</Label>
        <TextBox Margin="16,125,12,37" Name="messageTextBox" VerticalScrollBarVisibility="Visible" AcceptsReturn="True" AutoWordSelection="True" TextWrapping="WrapWithOverflow" TabIndex="2" SpellCheck.IsEnabled="True"/>
        
        <Button Margin="0,0,12,11" Name="sendButton" Click="sendButton_Click" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" TabIndex="3">Send</Button>        
    </Grid>
</Window>
